/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Current.BattleUpgradesLib.Upgrades;

import java.io.Serializable;

/**
 * @author Fork
 */
public abstract class BattleUpgrade implements Serializable, Cloneable {

    private Integer have;
    private Integer costToBuy;
    private Integer capacity;

    BattleUpgrade(Integer have, Integer costToBuy, Integer capacity) {
        this.have = have;
        this.costToBuy = costToBuy;
        this.capacity = capacity;
    }

    //Buying Info Handling
    public Integer getCostToBuy() {
        return costToBuy;
    }

    public void setCostToBuy(Integer costToBuy) {
        this.costToBuy = costToBuy;
    }

    //Defense Items Possesion Info Handling
    public Integer getHave() {
        return have;
    }

    public void setHave(Integer have) {
        this.have = have;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }
}
